package com.wetao.lib_common.greendao.model;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class AssistantQuestion {
    @Id(autoincrement = true)
    private Long id;
    //试题id
    @NotNull
    private Integer questionId;
    //试题序号
    private Integer questionNo;
    //试题分数
    private Float questionScore;
    //试题内容
    private String questionContent;
    //题干
    private String question;
    //options 选项
    private String options;// 是一个list, 使用###隔开
    //题目解析
    private String explain;
    //答案
    private String answers; // 是一个list, 使用###隔开
    //试题类型
    private Integer questionType;
    //是否单题 0场景题，1单题
    private Integer isSingle;
    //试题场景
    private String questionScreen;
    //场景类型：0:非完形填空 1:完形填空 2:听力题
    private Integer screenType;
    //场景id
    private Integer screenId;
    //听力资源url
    private String listeningUrl;
    //听力时长
    private Integer duration;
    //章节id
    private Integer chapterId;
    //选中的试题详情id
    private Integer questionDetailId;

    //客观题的作答答案, 主观题如果做存储1
    private String myAnswer;
    //主观题每小题截出来的图片
    private String ossPath;
    //主观题是否涂鸦作答了
    private boolean isSubjectMyAns;

    @NotNull
    private Long assistantExamId;

    @Generated(hash = 1697800972)
    public AssistantQuestion(Long id, @NotNull Integer questionId,
            Integer questionNo, Float questionScore, String questionContent,
            String question, String options, String explain, String answers,
            Integer questionType, Integer isSingle, String questionScreen,
            Integer screenType, Integer screenId, String listeningUrl,
            Integer duration, Integer chapterId, Integer questionDetailId,
            String myAnswer, String ossPath, boolean isSubjectMyAns,
            @NotNull Long assistantExamId) {
        this.id = id;
        this.questionId = questionId;
        this.questionNo = questionNo;
        this.questionScore = questionScore;
        this.questionContent = questionContent;
        this.question = question;
        this.options = options;
        this.explain = explain;
        this.answers = answers;
        this.questionType = questionType;
        this.isSingle = isSingle;
        this.questionScreen = questionScreen;
        this.screenType = screenType;
        this.screenId = screenId;
        this.listeningUrl = listeningUrl;
        this.duration = duration;
        this.chapterId = chapterId;
        this.questionDetailId = questionDetailId;
        this.myAnswer = myAnswer;
        this.ossPath = ossPath;
        this.isSubjectMyAns = isSubjectMyAns;
        this.assistantExamId = assistantExamId;
    }

    @Generated(hash = 910334320)
    public AssistantQuestion() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getQuestionId() {
        return this.questionId;
    }

    public void setQuestionId(Integer questionId) {
        this.questionId = questionId;
    }

    public Integer getQuestionNo() {
        return this.questionNo;
    }

    public void setQuestionNo(Integer questionNo) {
        this.questionNo = questionNo;
    }

    public Float getQuestionScore() {
        return this.questionScore;
    }

    public void setQuestionScore(Float questionScore) {
        this.questionScore = questionScore;
    }

    public String getQuestionContent() {
        return this.questionContent;
    }

    public void setQuestionContent(String questionContent) {
        this.questionContent = questionContent;
    }

    public String getQuestion() {
        return this.question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getOptions() {
        return this.options;
    }

    public void setOptions(String options) {
        this.options = options;
    }

    public String getExplain() {
        return this.explain;
    }

    public void setExplain(String explain) {
        this.explain = explain;
    }

    public String getAnswers() {
        return this.answers;
    }

    public void setAnswers(String answers) {
        this.answers = answers;
    }

    public Integer getQuestionType() {
        return this.questionType;
    }

    public void setQuestionType(Integer questionType) {
        this.questionType = questionType;
    }

    public Integer getIsSingle() {
        return this.isSingle;
    }

    public void setIsSingle(Integer isSingle) {
        this.isSingle = isSingle;
    }

    public String getQuestionScreen() {
        return this.questionScreen;
    }

    public void setQuestionScreen(String questionScreen) {
        this.questionScreen = questionScreen;
    }

    public Integer getScreenType() {
        return this.screenType;
    }

    public void setScreenType(Integer screenType) {
        this.screenType = screenType;
    }

    public Integer getScreenId() {
        return this.screenId;
    }

    public void setScreenId(Integer screenId) {
        this.screenId = screenId;
    }

    public String getListeningUrl() {
        return this.listeningUrl;
    }

    public void setListeningUrl(String listeningUrl) {
        this.listeningUrl = listeningUrl;
    }

    public Integer getDuration() {
        return this.duration;
    }

    public void setDuration(Integer duration) {
        this.duration = duration;
    }

    public Integer getChapterId() {
        return this.chapterId;
    }

    public void setChapterId(Integer chapterId) {
        this.chapterId = chapterId;
    }

    public Integer getQuestionDetailId() {
        return this.questionDetailId;
    }

    public void setQuestionDetailId(Integer questionDetailId) {
        this.questionDetailId = questionDetailId;
    }

    public String getMyAnswer() {
        return this.myAnswer;
    }

    public void setMyAnswer(String myAnswer) {
        this.myAnswer = myAnswer;
    }

    public String getOssPath() {
        return this.ossPath;
    }

    public void setOssPath(String ossPath) {
        this.ossPath = ossPath;
    }

    public boolean getIsSubjectMyAns() {
        return this.isSubjectMyAns;
    }

    public void setIsSubjectMyAns(boolean isSubjectMyAns) {
        this.isSubjectMyAns = isSubjectMyAns;
    }

    public Long getAssistantExamId() {
        return this.assistantExamId;
    }

    public void setAssistantExamId(Long assistantExamId) {
        this.assistantExamId = assistantExamId;
    }


}
